package com.rz.htk.finance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rz.core.common.model.PageEntity;

/**
 * @ClassName ExchangeRate
 * @Description 中外比汇率
 * @Author maweiyue
 * @Date 2019/8/19 10:37
 */
@TableName("fin_exchange_rate")
public class ExchangeRate extends PageEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 汇率值 */
    private Double price;

    /** 名称 */
    private String name;

    /** 英文名称，例如：USD/CNY、EUR/CNY */
    private String ename;

    /** 数据更新时间 */
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
